import React from 'react';
import style from  '../style/main.module.scss'


class Main extends React.Component{
    constructor(props) {
        super(props)

        this.routerGo = this.routerGo.bind(this);
    }
    routerGo = (path) => {
        this.props.history.push(path)
    }
    render() {
        return (
            <div className={style.main}>
                <span className={style.btn} onClick={(e)=>this.routerGo("/exhibitionList")}>
                    基本陈列
                </span>
            </div>
        )
    }
}

export default Main;
